package edu.chl.da.ejb.persistency;

import edu.chl.da.ejb.core.Airport;
import edu.chl.da.ejb.core.Destination;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Jakob
 */
@Local
public interface IAirportFacade {

    void create(Airport airport);

    void edit(Airport airport);

    void remove(Airport airport);

    Airport find(Object id);

    List<Airport> findAll();

    List<edu.chl.da.ejb.core.Airport> findByDestination(Destination destination);

}
